home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / os2 / pmwtsmll.zip / INSTALL.CMD < prev    next >
OS/2 REXX Batch file  |  1996-01-18  |  633b  |  21 lines

  1. /* Rexx by: David DuPre */
  2. /* INSTALL.CMD */
  3. /* Recreate the PM-WEATHER folder if it is accidentally deleted */
  4.  
  5. parse source one two w3
  6. current=directory()      /* Thanks to:Duane A. Chamblee 1/17/96 */
  7. tgtdrv = substr(w3,1,2)
  8.  
  9. option = "update"
  10.  
  11. call RxFuncAdd 'SysCreateObject','RexxUtil','SysCreateObject'
  12.  
  13. /* add the PMWEATHER ICON */
  14. Classname= 'WPProgram'
  15. Title =   'WEATHER from the Internet'
  16. Location =  '<WP_DESKTOP>'
  17. Setup = 'EXENAME='current'\PMWEATHR.EXE;OBJECTID=<PMWTHR>;STARTUPDIR='current';ICONFILE='current'\PMWEATHR.ICO'
  18. result=SysCreateObject(classname,Title,Location,Setup,option)
  19.  
  20. RETURN 0
  21.